#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include<stdlib.h>
#include <time.h>
//递归实现字符串反排序
void  reverse_string(char* string)
{
    int n = 0;
    if (*string != '\0')
    {
        reverse_string(string + 1);

        printf("%c", string[n]);

        n++;
    }


    
}
int main()
{   
    int n = 0;
    int count  = 0;
    char arr[] = "thgir";
    reverse_string(arr);
    return 0;
}



